home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wtek0693.zip / OOPALLEY.ZIP / LINKOB.H < prev    next >
C/C++ Source or Header  |  1993-04-27  |  925b  |  30 lines

  1. #ifndef LINKOB_H
  2. #define LINKOB_H
  3.  
  4. #include "link.h"
  5.  
  6. extern const Class class_LinkOb;
  7.  
  8. ////////////////////////////////////////////////////////////
  9. // class LinkOb (declaration)
  10. ////////////////////////////////////////////////////////////
  11. class LinkOb: public Link {
  12.     Object* val;
  13. public:
  14.                 // constructors, destructors
  15.                 LinkOb(const Object& newval =*nil);
  16.  
  17.     virtual unsigned        capacity() const;
  18.     virtual int             compare(const Object&) const;
  19.     virtual void            deepenShallowCopy();
  20.     virtual unsigned        hash() const;
  21.     virtual const Class*    isA() const;
  22.     virtual bool            isEqual(const Object&) const;
  23.     virtual void            printOn(ostream& strm) const;
  24.     virtual unsigned        size() const;
  25.     virtual Object*         value() const;
  26.     virtual Object*         value(const Object& newval);
  27. };
  28.  
  29. #endif
  30.